package mysql

import "gorm.io/gorm"

type Home struct {
	gorm.Model
	Name    string  `gorm:"type:varchar(30);not null;comment: 房源名称"`
	Price   float64 `gorm:"type:decimal(10,2);not null;comment: 价格"`
	Address string  `gorm:"type:varchar(30);not null;comment: 房源地址"`
}
